package com.xm.settlement.model;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.xm.settlement.commons.utils.JsonUtils;
import com.xm.settlement.controller.AppBaseController;

import java.io.Serializable;
import java.util.Date;

/**
 * 提现\审核
 * Created by Administrator on 2017/3/14.
 */
@TableName(value = "app_cash_log")
public class AppCashLog extends AppBaseController implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1l;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 会员编号*/
    @TableField(value = "vip_code")
    private String vipCode;

   /** 提现积分手续费*/
    @TableField(value = "taxation_name")
    private String taxationName;

    /** 提现费率百分比*/
    private Integer percentage;

    /** 0待审，1审核通过，2审核未通过 */
    private Integer status;

    /** 审核未通过原因 */
    private String remark;

    @TableField(value = "create_time")
    private Long createTime;

    @TableField(value = "update_id")
    private Long updateId;

    @TableField(value = "update_time")
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getVipCode() {
        return vipCode;
    }

    public void setVipCode(String vipCode) {
        this.vipCode = vipCode;
    }

    public String getTaxationName() {
        return taxationName;
    }

    public void setTaxationName(String taxationName) {
        this.taxationName = taxationName;
    }

    public Integer getPercentage() {
        return percentage;
    }

    public void setPercentage(Integer percentage) {
        this.percentage = percentage;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Long updateId) {
        this.updateId = updateId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString(){
        return JsonUtils.toJson(this);
    }
}
